package com.hougong.im.body.notice;

import com.hougong.im.annotation.ProtocolField;
import com.hougong.im.body.BaseBodyCodec;

/**
 * 好友上线下线通知 0x8889
 */
public class OnlineStatusNotice extends BaseBodyCodec<OnlineStatusNotice> {
    @ProtocolField(sort = 1)
    private long fid;
    /**
     * 0 下线  1上线
     */
    @ProtocolField(sort = 2)
    private byte status;

    public long getFid() {
        return fid;
    }

    public void setFid(long fid) {
        this.fid = fid;
    }

    public byte getStatus() {
        return status;
    }

    public void setStatus(byte status) {
        this.status = status;
    }
}
